package com.locationhistory.dao;

import com.locationhistory.bean.Device;

/**
 * 
 * @author thuanlv1
 *
 */
public interface DeviceDAO {
	/**
	 * add new Device
	 * 
	 * @param device
	 */
	public void saveDevice(Device device);
	
	/**
	 * update device
	 * 
	 * @param device
	 */
	public void updateDevice(Device device);
	
	/**
	 * get device by Id
	 * 
	 * @param deviceId
	 * @return
	 */
	public Device getDeviceById(int deviceId);
	
}
